﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                 assembly="Inovout.Membership"
				        namespace="Inovout.Membership.Security"> 
  <joined-subclass name="OAuthCredential" extends="Inovout.Membership.Security.MembershipCredential"  table="Security_OAuthCredential">
    <key column="OAuthCredentialId" />
    <!--<property name="UserName"/>-->
    <property name="Code" length="4000"/>
    <property name="AccessToken" length="4000"/>
    <property name="AccessTokenExpiredTime" />
    <property name="RefreshToken" length="4000"/>
    <property name="RefreshTokenExpiredTime" />
    <property name="CreatedTime" access="field.camelcase" />
    <property name="CreatedUserName" access="field.camelcase" />
    <property name="ModifiedTime" access="field.camelcase" />
    <property name="ModifiedUserName" access="field.camelcase" />
    <property name="AccessedTime" access="field.camelcase" />
    <property name="AccessedUserName" access="field.camelcase" />
    <property name="Memo" />
    <property name="IsInvalid" />
  </joined-subclass>
</hibernate-mapping>


